package com.dp.reids;

import org.redisson.api.listener.MessageListener;
import org.springframework.stereotype.Component;

/**
 * <p>Title: 接听对象</p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2018</p>
 * <p>Company: wylCloud.com</p>
 *
 * @author wangyl
 * @version 1.0
 * @date 2022/2/8 11:11
 */
@Component
public class RedisReceiver implements MessageListener {


    @Override
    public void onMessage(CharSequence charSequence, Object o) {
        System.out.println("1111111111111111111" + charSequence.toString());
        System.out.println("1111111111111111111" + o.toString());
    }
}
